﻿@model NVSecurity.Models.UsersInRole
@using NVSecurity.Models;

<div class="cpanel floatl martop20">
    <div class="waper-ic">
        <h3 class="marb20">Chức Năng</h3>
        <div class="div100">                    
            @if (User.IsInRole("Admin") || User.IsInRole("AdminAccount"))
            {
             <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Membership/Index">
                        <img src="~/Areas/Admin/images/icon-48-user.png" />
                        <span>Account</span>
                    </a>
                </div>
            }
            @if (User.IsInRole("Admin") || User.IsInRole("AdminNews"))
            {
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/News/Index">
                        <img src="~/Areas/Admin/images/icon-48-article.png" />
                        <span>Tin tức</span>
                    </a>
                </div>
                <!--end icon1-->
            }
            

           @if (User.IsInRole("Admin") || User.IsInRole("AdminContact"))
            {
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Contact/Index">
                        <img src="~/Areas/Admin/images/icon_contact.jpg" width="48" height="48"/>
                        <span>Contact us</span>
                    </a>
                </div>
                <!--end icon1-->
            
           }
            
@*                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/ContactCustomer/Index">
                        <img src="~/Areas/Admin/images/icon_contact_customer.jpg" width="48" height="48" />
                        <span>Contact Customer</span>
                    </a>
                </div>*@
                <!--end icon1-->
            
           
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Training/Index">
                        <img src="~/Areas/Admin/images/icon-48-user.png" />
                        <span>Đào tạo</span>
                    </a>
                </div>
                <!--end icon1-->
            
            @if (User.IsInRole("Admin") || User.IsInRole("AdminUser"))
            {
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Customer/Index">
                        <img src="~/Areas/Admin/images/jshop_users_b.png" />
                        <span>Khách hàng</span>
                    </a>
                </div>
                <!--end icon1-->
            }
        @*   @if(User.IsInRole("Admin") || User.IsInRole("AdminSupport"))
            {
                <div class="icon1">
                    <a href="#">
                        <img src="~/Areas/Admin/images/jshop_options_b.png" />
                        <span>Options</span>
                    </a>
                </div>
                <!--end icon1-->
            
           }*@
          @if (User.IsInRole("Admin") || User.IsInRole("AdminAboutCategory"))
            {
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/CompanyInfo/Index">
                        <img src="~/Areas/Admin/images/icon-48-user-profile.png" />
                        <span>Công ty</span>
                    </a>
                </div>
                <!--end icon1-->
            
          }
            @if (User.IsInRole("Admin") || User.IsInRole("AdminAbout"))
            {
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/About/Index">
                        <img src="~/Areas/Admin/images/jshop_info_b.png" />
                        <span>Giới thiệu</span>
                    </a>
                </div>
                <!--end icon1-->
            
            }
        @*    @if(User.IsInRole("Admin") || User.IsInRole("AdminSupport"))
            {
           
                <div class="icon1">
                    <a href="#">
                        <img src="~/Areas/Admin/images/jshop_configuration_b.png" />
                        <span>Settings</span>
                    </a>
                </div>
            }*@
                <!--end icon1-->
          @* 
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Comments/Index">
                        <img src="~/Areas/Admin/images/user_message_man-128.png" />
                        <span>Quản lý comment</span>
                    </a>
                </div>*@
            

            <!--end icon1-->
       @*    @if(User.IsInRole("Admin") || User.IsInRole("AdminSupport"))
            {
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/SubEmail/Index">
                        <img src="~/Areas/Admin/images/mail.jpg" />
                        <span>Gửi Emails</span>
                    </a>
                </div>
                <!--end icon1-->
           }*@
           
              
                <!--end icon1-->
            @if (User.IsInRole("Admin") || User.IsInRole("AdminService"))
            {
          
                <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Service/Index" >
                        <img src="~/Areas/Admin/images/service.png" width="48" height="48" />
                        <span>Dịch vụ</span>
                    </a>
                </div>
            }
            @*@if (User.IsInRole("Admin") || User.IsInRole("AdminHome"))
            {
        
                <!--end icon1-->
               <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Causative/Index" >
                        <img src="~/Areas/Admin/images/Home.jpg" width="48" height="48" />
                        <span>Trang chủ</span>
                    </a>
                </div>
                <!--end icon1-->
            }*@
          
            @if (User.IsInRole("Admin") || User.IsInRole("AdminBannerCategory"))
            {
              <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Slide/Index" >
                        <img src="~/Areas/Admin/images/BannerCategory.png" width="98" height="38" />
                        <span>Slide</span>
                    </a>
                </div>
                <!--end icon1-->
            }
            @if (User.IsInRole("Admin") || User.IsInRole("AdminSupport"))
            {
             <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/SupportOnline/Index" >
                        <img src="~/Areas/Admin/images/SupportOnline.jpg" width="48" height="48" />
                        <span>Support Online</span>
                    </a>
                </div>
            }
            @if (User.IsInRole("Admin") || User.IsInRole("AdminClient"))
            {
             <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/OurClient/Index" >
                        <img src="~/Areas/Admin/images/OurClient.jpg" width="48" height="48" />
                        <span>Khách hàng</span>
                    </a>
                </div>
            }
             @if (User.IsInRole("Admin") || User.IsInRole("AdminConsulting"))
            {
             <div class="icon1">
                    <a href="/@NVSecurity.Models.GlobalVariables.PathFolderName/Recruitment/Index" >
                        <img src="~/Areas/Admin/images/Consulting.jpg" width="48" height="48" />
                        <span>Tuyển dụng</span>
                    </a>
                </div>
            }
        </div>
        <!--end div100-->
    </div>
    <!--end waper-ic-->
</div>
<!--end cpanel-->


